<%--
  Created by IntelliJ IDEA.
  User: lijincheng
  Date: 2020/7/15
  Time: 9:35 上午
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/views/common/head.jsp"%>

<div class="right">
    <div class="location">
        <strong>你现在所在的位置是:</strong>
        <span>供应商管理页面 >> 供应商修改页</span>
    </div>
    <div class="providerAdd">
        <form id="providerForm" name="providerForm" method="post" action="${pageContext.request.contextPath }/sys/provider/modifysave.html" enctype="multipart/form-data">
            <input type="hidden" name="id" value="${provider.id }"/>
            <!--div的class 为error是验证错误，ok是验证成功-->
            <div class="">
                <label for="proCode">供应商编码：</label>
                <input type="text" name="proCode" id="proCode" value="${provider.procode }" readonly="readonly">
            </div>
            <div>
                <label for="proName">供应商名称：</label>
                <input type="text" name="proName" id="proName" value="${provider.proname }">
                <font color="red"></font>
            </div>

            <div>
                <label for="proContact">联系人：</label>
                <input type="text" name="proContact" id="proContact" value="${provider.procontact }">
                <font color="red"></font>
            </div>

            <div>
                <label for="proPhone">联系电话：</label>
                <input type="text" name="proPhone" id="proPhone" value="${provider.prophone }">
                <font color="red"></font>
            </div>

            <div>
                <label for="proAddress">联系地址：</label>
                <input type="text" name="proAddress" id="proAddress" value="${provider.proaddress }">
            </div>

            <div>
                <label for="proFax">传真：</label>
                <input type="text" name="proFax" id="proFax" value="${provider.profax }">
            </div>

            <div>
                <label for="proDesc">描述：</label>
                <input type="text" name="proDesc" id="proDesc" value="${provider.prodesc }">
            </div>
            <div>
                <label for="m_companyLicPicPath">企业营业执照：</label>
                <input type="file" name="attachs" id="m_orgCodePicPath1"/>

            </div>
            <div>
                < <label for="m_orgCodePicPath">组织机构代码证：</label>
                <input type="file" name="attachs" id="m_orgCodePicPath"/>

            </div>
            <div class="providerAddBtn">
                <input type="button" name="save" id="save" value="保存">
                <input type="button" id="back" name="back" onclick="ba()" value="返回" >
            </div>
        </form>
    </div>
</div>
</section>
<%@include file="/WEB-INF/views/common/foot.jsp" %>
<script>
    function ba() {
        window.location.href="/provider/list"
    }
</script>
